﻿namespace _specifications.Context
{
	public class TestComponent
	{
		public TestComponent(IServiceA serviceA, IServiceB serviceB)
		{
			ServiceA = serviceA;
			ServiceB = serviceB;
		}

		public IServiceA ServiceA{ get; private set; }
		public IServiceB ServiceB{ get; private set; }

		public void RunAll()
		{
			ServiceA.RunA();
			ServiceB.RunB();
		}
	}
}